package com.hinnotek.amoeba.utilities;

import android.util.Log;

/**
 *
 */
public class ClickUtil {

    public static final int DELAY = 1000;
    private static long lastClickTime = 0;
    public static boolean isFastClick() {
        long currentTime = System.currentTimeMillis();
        if (currentTime - lastClickTime > DELAY) {
            lastClickTime = currentTime;
            return false;
        } else {
            Log.e("noDoubleClick","isNotFastClick");
            return true;
        }
    }
}
